package com.example.fourtestapp.entity;

import java.util.List;

public class LightInfo {

    /**
     * ERRMSG : 查询成功
     * RESULT : S
     * ROWS_DETAIL : [{"greenTime":9,"intersectionId":1,"redTime":9,"status":1,"trafficLightId":1,"yellowTime":3},{"greenTime":6,"intersectionId":2,"redTime":8,"status":1,"trafficLightId":2,"yellowTime":3},{"greenTime":7,"intersectionId":3,"redTime":7,"status":1,"trafficLightId":3,"yellowTime":3},{"greenTime":10,"intersectionId":4,"redTime":8,"status":1,"trafficLightId":4,"yellowTime":3},{"greenTime":15,"intersectionId":5,"redTime":10,"status":1,"trafficLightId":5,"yellowTime":3}]
     */

    private String ERRMSG;
    private String RESULT;
    private List<ROWSDETAILBean> ROWS_DETAIL;

    public String getERRMSG() {
        return ERRMSG;
    }

    public void setERRMSG(String ERRMSG) {
        this.ERRMSG = ERRMSG;
    }

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }

    public List<ROWSDETAILBean> getROWS_DETAIL() {
        return ROWS_DETAIL;
    }

    public void setROWS_DETAIL(List<ROWSDETAILBean> ROWS_DETAIL) {
        this.ROWS_DETAIL = ROWS_DETAIL;
    }

    public static class ROWSDETAILBean {
        /**
         * greenTime : 9
         * intersectionId : 1
         * redTime : 9
         * status : 1
         * trafficLightId : 1
         * yellowTime : 3
         */

        private int greenTime;
        private int intersectionId;
        private int redTime;
        private int status;
        private int trafficLightId;
        private int yellowTime;

        public int getGreenTime() {
            return greenTime;
        }

        public void setGreenTime(int greenTime) {
            this.greenTime = greenTime;
        }

        public int getIntersectionId() {
            return intersectionId;
        }

        public void setIntersectionId(int intersectionId) {
            this.intersectionId = intersectionId;
        }

        public int getRedTime() {
            return redTime;
        }

        public void setRedTime(int redTime) {
            this.redTime = redTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getTrafficLightId() {
            return trafficLightId;
        }

        public void setTrafficLightId(int trafficLightId) {
            this.trafficLightId = trafficLightId;
        }

        public int getYellowTime() {
            return yellowTime;
        }

        public void setYellowTime(int yellowTime) {
            this.yellowTime = yellowTime;
        }
    }
}
